const getters = {
  sidebar: state => state.app.sidebar,
  deviceInfo: state => state.device.info,
  menu: state => state.system.menu,
  token: state => state.user.token,
  userId: state => state.user.userId,
  name: state => state.user.realname,
  roles: state => state.user.roles
}
export default getters
